package com.huawei.appgallery.forum.forum.node;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import com.huawei.appgallery.forum.base.card.ForumNode;
import com.huawei.appgallery.forum.forum.card.ForumListCard;
import o.bun.d;

public class ForumListNode extends ForumNode {
    public ForumListNode(Context context) {
        super(context);
    }

    public boolean ˊ(ViewGroup viewGroup, ViewGroup viewGroup2) {
        LinearLayout linearLayout = (LinearLayout) LayoutInflater.from(this.ॱ).inflate(ˋ(), null);
        ˊ(ˏ(linearLayout));
        viewGroup.addView(linearLayout);
        return true;
    }

    private ForumListCard ˏ(View view) {
        ForumListCard forumListCard = new ForumListCard(this.ॱ);
        forumListCard.ˏ(view);
        return forumListCard;
    }

    public int ˋ() {
        return d.ˏॱ;
    }
}
